package com.biboheart.breport.source.connection;

import com.biboheart.breport.source.BrDataSourcePoolAbstract;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class BrDataPoolSample extends BrDataSourcePoolAbstract {
    private final List<Map<String, Object>> dataList = new ArrayList<>();

    @Override
    public List<Map<String, Object>> retrieve() {
        return dataList;
    }

    @Override
    public void addData(Map<String, Object> data) {
        dataList.add(data);
    }
}
